import {createStore} from 'delfin'
export default createStore({
    state:{
        userInfo:{
            id:1,
            userName:'孙志豪'
        }
    },
     actions:{
        setUserInfo(store,userInfo) {
            store.userInfo = userInfo
        }
    }
})
